$("#login").click(function (){
	var phone = $("#user_name").val();
	var upwd = $("#user_password").val();
	if(phone == ""){
	$("#namemsg").html("手机号不能为空");
}else{
	$("#namemsg").html("");
}
if(upwd == ""){
	$("#pwdmsg").html("密码不能为空");
}else{
	$("#pwdmsg").html("");
}
if(phone != "" && upwd != ""){
	document.location = "loginUser?phone="+phone+"&upwd="+upwd+"";
}
})